package disjunction.examples.entities
{
	import disjunction.core.IEntityListModel;
	import disjunction.core.geom.Vector2;
	
	/**
	 *
	 *
	 * @author Nick Wiggill
	 */
	
	public class DemoModel implements IEntityListModel
	{
		//Variables with upper case names are excluded from serialisation.
		public const MIN_ENTITIES:Number = 8;
		public const MAX_ENTITIES:Number = 20;
		
		public var entities:DemoEntityLists = new DemoEntityLists();
		public var worldDimensions:Vector2;
		
		public function get current():Array
		{
			return entities.myCurrent;
		}
		
		public function get toAdd():Array
		{
			return entities.myToAdd;
		}
		
		public function get toRemove():Array
		{
			return entities.myToRemove;
		}
	}
}